<?php
include_once("../../../common/module/checkA.php");
include_once("../../../../config.php");
include_once("../controller/index.php");
?>
<? $department=select_one_line_all_items($table_Prefix."department","nid = '".$_SESSION['departmentid']."'")?>

<?php include('dashboard/controller/dashboard.php'); ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <head>
        <?php include ROOT_PATH_.'/controller/common/module/head.php'; ?>
        <?php include_once('modules/language/language.php'); ?>
        <link href="../assets/css/css.css"      rel="stylesheet" type="text/css"/>

    </head>

<body>

<div id="topbar">
    <?php include ROOT_PATH_.'/controller/common/module/topbar.php'; ?>
</div>
<div id="container">

    <div id="maincontent">

        <div id="sidebar">
            <?php include ROOT_PATH_.'/controller/common/module/sidebar.php'; ?>
        </div>


        <div id="content">

            <h1>系统首页 </h1>




            <? include "modules/mod-search.php";?>






<!--            --><?//if(in_array("renewal",$quanxian)){?>
<!--            <div class="box index-info-box renewal_log" >-->
<!--                --><?// include "modules/renewal.php";?>
<!--            </div>-->
<!--            --><?//}?>
<!---->
<!--            --><?//if(in_array("member",$quanxian)){?>
<!--            <div class="box index-info-box member-checkpoint" >-->
<!--                --><?// include "modules/member-checkpoint.php";?>
<!--            </div>-->
<!--            --><?//}?>
<!---->
<!---->
<!--            --><?//if(in_array("case",$quanxian)){?>
<!--            <div class="box index-info-box case-checkpoint" >-->
<!--                --><?// include "modules/case-checkpoint.php";?>
<!--            </div>-->
<!--            --><?//}?>




            <br class="clearfloat"/>







            <div class="box index-info-box" >
                <? include "modules/statistic-member-contribute-log.php";?>
            </div>


            <div class="box index-info-box" >

                <? include "modules/statistic-clock-in.php";?>
            </div>

<!--            <div class="box index-info-box">-->
<!--                <fieldset class="layui-elem-field layui-field-title">-->
<!--                    <legend> 公众号粉丝数 </legend>-->
<!--                </fieldset>-->
<!--                --><?// include "modules/statistic-wechat-official-log.php";?>
<!--            </div>-->





<!--           --><?//if((in_array("finance",$quanxian))&&($plate_publish['finance'])){?>
<!--		   <div class="box index-info-box">-->
<!--               <fieldset class="layui-elem-field layui-field-title">-->
<!--                   <legend> 财务统计 </legend>-->
<!--               </fieldset>-->
<!--               --><?// include "modules/statistic-department-info-finance.php";?>
<!--           </div>-->
<!--               --><?//;} ?>



            <? //如果是这个客户的跟进业务，或者是管理员
            if(
            in_array("沙盘统计数据",$quanxian) or
            in_array("admin",$quanxian)
            )
            {
            ?>
 <?php include 'modules/mod-index-info.php'; ?>
            <br class="clearfloat"/>



            <?php include 'modules/mod-member-echart.php'; ?>
            <br class="clearfloat"/>

            <?} ?>

            <?php include 'modules/mod-member.php'; ?>





<!--content端點01-->
</div>

<!--maincontent端點01-->
<br class="clearfloat"/>
</div>

<!--container端點01-->
</div>




<?php include_once('modules/footer.php'); ?>
</body>
</html>
